package com.zhangmeng.tools.languages;

import java.util.regex.Pattern;

/**
 * @author : 芊芊墨客
 * @version : 1.0
 * @date : 2023-06-12 17:17
 */
public class ProcessXML {

    public static final String XML_PATTERN = "(?<ELEMENT>(</?\\h*)(\\w+)([^<>]*)(\\h*/?>))"
            + "|(?<COMMENT><!--[^<>]+-->)";

    public static final Pattern PATTERN = Pattern.compile(XML_PATTERN);

}
